<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>${message("admin.articleCategory.add")} - 766 SMART HOME</title>
<meta name="author" content="BIZ Team" />
<meta name="copyright" content="BIZ" />
<link href="${base}/resources/admin/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/resources/admin/js/jquery.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.validate.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/common.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/input.js"></script>
<script type="text/javascript">
$().ready(function() {

	var $inputForm = $("#inputForm");
	
	[@flash_message /]

	// 表单验证
	$inputForm.validate({
		rules: {
			name: "required",
			order: "digits"
		}
	});
	
});
</script>
</head>
<body>
	<div class="path">
		<a href="${base}/admin/common/index.jhtml">${message("admin.path.index")}</a> &raquo; ${message("admin.customer.show")}
	</div>
	<form id="inputForm" action="update.jhtml" method="post">
		<table class="input">
			<tr>
				<th>
					<span class="requiredField">*</span>${message("Customer.name1")}:
				</th>
				<td>
					${customer.name1}
				</td>
				<th>
					<span class="requiredField">*</span>${message("Customer.tencentId1")}:
				</th>
				<td>
					${customer.tencentId1}
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField">&nbsp;</span>${message("Customer.name2")}:
				</th>
				<td>
					${customer.name2}
				</td>
				<th>
					<span class="requiredField">&nbsp;</span>${message("Customer.tencentId2")}:
				</th>
				<td>
					${customer.tencentId2}
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField">&nbsp;</span>${message("Customer.name3")}:
				</th>
				<td>
					${customer.name3}
				</td>
				<th>
					<span class="requiredField">&nbsp;</span>${message("Customer.tencentId3")}:
				</th>
				<td>
					${customer.tencentId3}
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField">&nbsp;</span>${message("Customer.name4")}:
				</th>
				<td>
					${customer.name4}
				</td>
				<th>
					<span class="requiredField">&nbsp;</span>${message("Customer.tencentId4")}:
				</th>
				<td>
					${customer.tencentId4}
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField">*</span>${message("Customer.tel")}:
				</th>
				<td>
					${customer.tel}
				</td>
				<th>
					<span class="requiredField">*</span>${message("Customer.workTime")}:
				</th>
				<td>
					${customer.workTime}
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField">&nbsp;</span>${message("Customer.staffSn")}:
				</th>
				<td>
					${customer.staffSn}
				</td>
				<th>
					<span class="requiredField">&nbsp;</span>${message("Customer.staffName")}:
				</th>
				<td>
					${customer.staffName}
				</td>
			</tr>
			<tr>
				<th>
					<span class="requiredField">*</span>${message("Customer.flag")}:
				</th>
				<td>
					[#if items.flag]${message("Customer.flagTrue")}[#else]${message("Customer.flagFalse")}[/#if]
				</td>
			</tr>
			<tr>
				<th>
					&nbsp;
				</th>
				<td>
					<input type="button" class="button" value="${message("admin.common.back")}" onclick="location.href='list.jhtml'" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>